# Contributor: Milan P. Staniić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=weex
pkgver=2.8.4.1
pkgrel=1
pkgdesc="Non-interactive FTP and FTPS client for updating web pages"
url="http://weex.sourceforge.net/"
arch="all"
license="GPL-2.0-or-later"
makedepends="openssl-dev automake autoconf"
options="!check" #no tests
subpackages="$pkgname-doc"
source="https://deb.debian.org/debian/pool/main/w/weex/weex_$pkgver.tar.gz"

build() {
	export CBUILD=$CHOST
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--disable-dependency-tracking \
		--disable-nls
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
f7ddd0c578a1c01f1853d2ec45f6081ef879dfb0fff88f3867d9ccae11f26d0b2e3e83924af58f131774e64a60d566e53e2c4b705af4a3507965ec0ff0c40b4a  weex_2.8.4.1.tar.gz
"
